#ifndef _TRN_LINE_H_
#define _TRN_LINE_H_

#include "ui/ui_sprite.h"

class TRNLine
{
public:

	
	const static int				LINE_SPOT_BUFFER = 64;
	static TRNLine&					Instance();
	

	void							MouseButtonDown( const math::Vec2& Pos);

	void							Render();


protected:

	void							AddPoint(const math::Vec2& Pos);

	
private:
	TRNLine();
	

	ui::UISprite					m_SprTronColor;
	ui::UISprite					m_SprWithoutGlow;
	math::Vec2						m_Positions[LINE_SPOT_BUFFER];
	math::Vec2						m_PosLast;


};

#endif	// _TRN_LINE_H_